package com.match.model;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;

public class MatchPoolPlayerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "玩家ID")
    private int playerId;// 玩家ID
    @ApiModelProperty(value = "玩家分数")
    private int rank;// 玩家分数
    @ApiModelProperty(value = "开始匹配时间")
    private long startMatchTime;// 开始匹配时间
    
    MatchPoolPlayerInfo(){}
    
    public MatchPoolPlayerInfo(int playerId, int rank) {
        super();
        this.playerId = playerId;
        this.rank = rank;
        this.startMatchTime = System.currentTimeMillis();
    }

    public int getPlayerId() {
        return playerId;
    }

    public void setPlayerId(int playerId) {
        this.playerId = playerId;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public long getStartMatchTime() {
        return startMatchTime;
    }

    public void setStartMatchTime(long startMatchTime) {
        this.startMatchTime = startMatchTime;
    }

}
